package org.jash.wechat2205.utils;

import java.util.ArrayList;
import java.util.concurrent.Callable;
import java.util.function.Consumer;

public class MyExecutor<T> {
    protected Consumer<T> success;
    protected Consumer<Throwable> failure;
    public void execute(Consumer<T> success, Consumer<Throwable> failure) {
        this.success = success;
        this.failure = failure;
    }
 }
